<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE>
<html>
	<head>
		<title>错误-412</title>
		
		<smLink1></smLink1>
		<smLink2></smLink2>
		
		<smScript1></smScript1>
		<smScript2></smScript2>
	</head>

	<body>
		<div class="page-content">
			<div class="row">
				<div class="col-xs-12">
					<div class="error-container">
						<div class="well">
							<h1 class="grey lighter smaller">
								<span class="blue bigger-125">
									<i class="ace-icon fa fa-sitemap"></i>
									412
								</span>
								错误
							</h1>
	
							<hr>
							<h3 class="lighter smaller">您的请求参数不合法！</h3>
	
							<div>
								<h4 class="smaller">错误信息如下：</h4>
	
								<ul class="list-unstyled spaced inline bigger-110 m-15">
									<c:choose>
										<c:when test="${(resultVo ne null) and (fn:length(resultVo.results) gt 0)}">
											<c:forEach var="error" items="${resultVo.results}">
												<li>
													<i class="ace-icon fa fa-hand-o-right red"></i>
													${error.field}--->${error.defaultMessage}
												</li>
											</c:forEach>
										</c:when>
										<c:otherwise>
											<li>
												<i class="ace-icon fa fa-hand-o-right red"></i>
												暂无错误信息！
											</li>
										</c:otherwise>
									</c:choose>
								</ul>
							</div>
	
							<hr>
							<div class="space"></div>
	
							<div class="center">
								<a class="btn btn-primary" href="<%=basePath%>web/index.html?menuId=0&menuParentId=0">
									<i class="ace-icon fa fa-home"></i>
									首页
								</a>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>